package cn.edu.mju.property.dao;

import cn.edu.mju.property.entity.Building;
import cn.edu.mju.property.entity.Unit;

import java.util.List;

public interface BuildingDao {


    /*添加报修数据*/
    public boolean addBuilding(Building building);

    /*删除报修数据*/
    public boolean delBuilding(int id);

    /*修改报修数据*/
    public boolean updateBuilding(Building building);

    /*获取分页数据*/
    public List<Building> findBuildingByPage(int start, int rows);

    /*获取总记录数*/
    public int findTotalCount();

}
